package org.maylove.wuziqi.pojo.user.dto;

public class UserDto {
    private String token;
    private Long userId;
    private String username;
    private String nickname;
    private Integer totGameNum;
    private Integer winGameNum;
    private Integer identity;


    public UserDto() {
    }

    public UserDto(String token, Long userId, String username, String nickname, Integer totGameNum, Integer winGameNum, Integer identity) {
        this.token = token;
        this.userId = userId;
        this.username = username;
        this.nickname = nickname;
        this.totGameNum = totGameNum;
        this.winGameNum = winGameNum;
        this.identity = identity;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getTotGameNum() {
        return totGameNum;
    }

    public void setTotGameNum(Integer totGameNum) {
        this.totGameNum = totGameNum;
    }

    public Integer getWinGameNum() {
        return winGameNum;
    }

    public void setWinGameNum(Integer winGameNum) {
        this.winGameNum = winGameNum;
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }
}
